import time
import sys

def main():
    # time.sleep(30)
    from test_fenglun import Fenglun, test_baozhu2_thd
    from midea_common.test_gui_base import test_gui_base
    if len(sys.argv)>1 and sys.argv[1] in ['debug']:
        sys.argv.remove('debug')
        return test_baozhu2_thd()
    try:
        ss = Fenglun()
        test_gui_base(ss)

    except Exception as e:
        # print('xxxxx')
        print(e)
    
    return 0

if __name__ == '__main__':
    main()